package com.etc.service;

import com.etc.dao.LoginDao;
import com.etc.entity.Admin;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginService {
    @Resource
    private LoginDao loginDao;

    public Admin login(String username, String password) {
        return loginDao.login(username,password);
    }

}
